<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>商家 | 服务员管理</title>

    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="font-awesome/css/font-awesome.css" rel="stylesheet">
    <link href="css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css" rel="stylesheet">


    <!-- Sweet Alert -->
    <link href="css/plugins/sweetalert/sweetalert.css" rel="stylesheet">

</head>

<body>

    <div id="wrapper">

        <!--菜单-->
        <nav class="navbar-default navbar-static-side" role="navigation">
            <div class="sidebar-collapse">
                <ul class="nav metismenu" id="side-menu">
                    <li class="nav-header">
                        <div class="dropdown profile-element"> <span>
                            <img alt="image" class="img-circle" src="img/profile_small.jpg" />
                             </span>
                            <a data-toggle="dropdown" class="dropdown-toggle" href="dashboard_2.html#">
                            <span class="clear"> <span class="block m-t-xs"> <strong class="font-bold">wyb</strong>
                             </span> <span class="text-muted text-xs block">渠道管理员(商家) <b class="caret"></b></span> </span> </a>
                            <ul class="dropdown-menu animated fadeInRight m-t-xs">
                                <li><a href="#">个人信息</a></li>
                                <li class="divider"></li>
                                <li><a href="login.html">退出</a></li>
                            </ul>
                        </div>
                        <div class="logo-element">
                            IN+
                        </div>
                    </li>

                    <li class="active">
                        <a href="shop_index.html"><i class="fa fa-th-large"></i> <span class="nav-label">首页</span>
                            <span class="fa arrow"></span></a>
                    </li>

                    <li class="">
                        <a href="shop_order.html"><i class="fa fa-th-large"></i> <span class="nav-label">订单管理</span>
                            <span class="fa arrow"></span></a>
                    </li>

                    <li class="">
                        <a href="shop_table.html"><i class="fa fa-th-large"></i> <span class="nav-label">餐桌管理</span>
                            <span class="fa arrow"></span></a>
                    </li>

                    <li class="">
                        <a href="shop_food.html"><i class="fa fa-th-large"></i> <span class="nav-label">菜品管理</span>
                            <span class="fa arrow"></span></a>
                    </li>

                    <!--<li class="">
                        <a href="shop_food_category.html"><i class="fa fa-th-large"></i> <span class="nav-label">菜品分类管理</span>
                            <span class="fa arrow"></span></a>
                    </li>-->

                    <li class="">
                        <a href="shop_waiter.html"><i class="fa fa-th-large"></i> <span class="nav-label">店员管理</span>
                            <span class="fa arrow"></span></a>
                    </li>

                    <!--<li class="">
                        <a href="shop_member.html"><i class="fa fa-th-large"></i> <span class="nav-label">会员管理</span>
                            <span class="fa arrow"></span></a>
                    </li>

                    <li class="">
                        <a href="shop_hongbao.html"><i class="fa fa-th-large"></i> <span class="nav-label">红包管理</span>
                            <span class="fa arrow"></span></a>
                    </li>

                    <li class="">
                        <a href="shop_cuxiao.html"><i class="fa fa-th-large"></i> <span class="nav-label">促销品管理</span>
                            <span class="fa arrow"></span></a>
                    </li>


                    <li class="">
                        <a href="shop_cuxiao.html"><i class="fa fa-th-large"></i> <span class="nav-label">支付管理</span>
                            <span class="fa arrow"></span></a>
                    </li>
                    -->

                    <li class="">
                        <a href="shop_print.html"><i class="fa fa-th-large"></i> <span class="nav-label">打印机管理</span>
                            <span class="fa arrow"></span></a>
                    </li>


                    <li class="">
                        <a href="shop_sale.html"><i class="fa fa-th-large"></i> <span class="nav-label">营销管理</span>
                            <span class="fa arrow"></span></a>
                    </li>

                    <li class="">
                        <a href="shop_adv.html"><i class="fa fa-th-large"></i> <span class="nav-label">广告管理</span>
                            <span class="fa arrow"></span></a>
                    </li>


                </ul>
            </div>
        </nav>

        <div id="page-wrapper" class="gray-bg">

            <div class="row border-bottom">
                <nav class="navbar navbar-static-top white-bg" role="navigation" style="margin-bottom: 0">
                    <div class="navbar-header">
                        <a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="shop_index.html#"><i class="fa fa-bars"></i> </a>
                    </div>
                    <ul class="nav navbar-top-links navbar-right">
                        <li>
                            <span class="m-r-sm text-muted welcome-message">渠道管理后台.</span>
                        </li>

                        <li>
                            <a href="shop_index.html">
                                <i class="fa fa-sign-out"></i>
                            </a>
                        </li>
                    </ul>
                </nav>
            </div>

            <div class="row wrapper border-bottom white-bg page-heading">
                <div class="col-lg-10">
                    <h2>店员管理</h2>
                    <ol class="breadcrumb">
                        <li>
                            <a href="index.html">首页</a>
                        </li>
                        <li>
                            <a>店员管理</a>
                        </li>
                        <li class="active">
                            <strong>店员管理</strong>
                        </li>
                    </ol>
                </div>
                <div class="col-lg-2">

                </div>
            </div>
        <div class="wrapper wrapper-content animated fadeInRight">
            <div class="row">
                <div class="col-lg-12">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <h5>店员信息  </h5>
                            <div class="ibox-tools">
                                <a class="btn btn-xs btn-primary" href="#modal-form-add" data-toggle="modal">添加店员</a>
                            </div>
                        </div>
                        <div class="ibox-content">
                            <table class="table table-bordered">
                                <thead>
                                <tr>
                                    <th>登陆ID</th>
                                    <th class="text-center">姓名</th>
                                    <th class="text-center">手机</th>
                                    <th class="text-center">状态</th>
                                    <th style="width:140px;" class="text-center">操作</th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>wyb</td>
                                    <td class="text-center">wyb</td>
                                    <td class="text-center">12345678901</td>
                                    <td class="text-center">
                                        <!--<span class="label label-danger">禁用</span>-->
                                        <span class="label label-success">正常</span>
                                    </td>
                                    <td class="text-center">
                                        <a href="#modal-form-edit" data-toggle="modal" class="btn btn-white btn-sm" title="编辑店员"><i class="fa fa-edit"></i></a>
                                        <a href="#" class="btn btn-white btn-sm deleteWaiter" title="删除"><i class="fa fa-times"></i></a>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="footer">
            <div class="pull-right">
                10GB of <strong>250GB</strong> Free.
            </div>
            <div>
                <strong>Copyright</strong> Example Company &copy; 2014-2015
            </div>
        </div>

        </div>
        </div>


    <!-- 添加新店员表单 -->
    <div id="modal-form-add" class="modal inmodal fade" aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-header">
                    <h4>添加新店员</h4>
                </div>
                <div class="modal-body">
                    <form action="" method="post" class="form-horizontal form" enctype="multipart/form-data" id="form">
                        <div class="form-group">
                            <label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label"><span class="text-danger">*</span>用户名</label>
                            <div class="col-md-9">
                                <input type="text" name="name" class="form-control" value="wyb" autocomplete="off" readonly="" />
                                <div class="help-block"></div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label"><span class="text-danger"></span>登陆密码</label>
                            <div class="col-md-9">
                                <input type="password" name="password" class="form-control" autocomplete="new-password"/>
                                <!--<div class="help-block">编辑店员时，如无需更改密码，请留空</div>-->
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label"><span class="text-danger"></span>店员姓名</label>
                            <div class="col-md-9">
                                <input type="text" name="realname" class="form-control" value="王永彬" />
                                <div class="help-block"></div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label"><span class="text-danger"></span>店员手机号</label>
                            <div class="col-md-9">
                                <input type="text" name="telphone" class="form-control" value="1234567890" />
                                <div class="help-block"></div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">店员状态</label>
                            <div class="col-md-9">
                                <label class="radio-inline">
                                    <input type="radio" name="status" value="1" checked="" > 启用
                                </label>
                                <label class="radio-inline">
                                    <input type="radio" name="status" value="0"> 禁用
                                </label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label"><span class="text-danger"></span>备注</label>
                            <div class="col-md-9">
                                <input type="text" name="remark" class="form-control" value="" />
                                <div class="help-block"></div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">可用权限</label>
                            <div class="col-md-9">
                                <div class="panel-group">
                                    <div class="panel panel-default" style="border-radius: 0px;">
                                        <div class="panel-heading" style="background:#f8f8f8">

                                            <label class="checkbox-inline">
                                                <input type="checkbox" name="perms[]" value="store" class="perm-all" data-group="store"> 门店管理
                                            </label>
                                        </div>
                                        <div class="panel-body perm-group">
                                            <div class="perm">
                                                <div class="col-sm-2" style="white-space:nowrap;">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]" data-group="store" data-parent="info" data-son="text" value="store_store" class="perm-all-item"><b>门店信息</b></label>
                                                </div>
                                                <div class="col-sm-10">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]" data-group="store" data-parent="info" data-son="view" value="store_store_view" class="perm-item">查看内容</label>
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]" data-group="store" data-parent="info" data-son="edit" value="store_store_edit" class="perm-item">编辑</label>
                                                </div>
                                            </div>
                                            <div class="perm">
                                                <div class="col-sm-2" style="white-space:nowrap;">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]" data-group="store" data-parent="goods" data-son="text" value="store_goods" class="perm-all-item"><b>商品管理</b></label>
                                                </div>
                                                <div class="col-sm-10">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]" data-group="store" data-parent="goods" data-son="add" value="store_goods_add" class="perm-item">添加</label>
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]" data-group="store" data-parent="goods" data-son="edit" value="store_goods_edit" class="perm-item">编辑</label>
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]" data-group="store" data-parent="goods" data-son="delete" value="store_goods_delete" class="perm-item">删除</label>
                                                </div>
                                            </div>
                                            <div class="perm">
                                                <div class="col-sm-2" style="white-space:nowrap;">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="class" data-son="text" value="store_class" class="perm-all-item"><b>商品分类</b></label>
                                                </div>
                                                <div class="col-sm-10">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="class" data-son="add" value="store_class_add" class="perm-item">添加</label>
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="class" data-son="edit" value="store_class_edit" class="perm-item">编辑</label>
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="class" data-son="delete" value="store_class_delete" class="perm-item">删除</label>
                                                </div>
                                            </div>
                                            <div class="perm">
                                                <div class="col-sm-2" style="white-space:nowrap;">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="class" data-son="text" value="store_order" class="perm-all-item"><b>订单管理</b></label>
                                                </div>
                                                <div class="col-sm-10">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="class" data-son="view" value="store_order_view" class="perm-item">查看</label>
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="class" data-son="deal" value="store_class_deal" class="perm-item">处理</label>
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="class" data-son="refund" value="store_class_refund" class="perm-item">退款处理</label>
                                                </div>
                                            </div>
                                            <div class="perm">
                                                <div class="col-sm-2" style="white-space:nowrap;">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="printer" data-son="text" value="store_printer" class="perm-all-item"><b>打印机管理</b></label>
                                                </div>
                                                <div class="col-sm-10">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="printer" data-son="add" value="store_printer_add" class="perm-item">添加</label>
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="printer" data-son="edit" value="store_printer_edit" class="perm-item">编辑</label>
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="printer" data-son="delete" value="store_printer_delete" class="perm-item">删除</label>
                                                </div>
                                            </div>
                                            <div class="perm">
                                                <div class="col-sm-2" style="white-space:nowrap;">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="desk" data-son="text" value="store_desk" class="perm-all-item"><b>桌号管理</b></label>
                                                </div>
                                                <div class="col-sm-10">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="desk" data-son="add" value="store_desk_add" class="perm-item">添加</label>
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="desk" data-son="edit" value="store_desk_edit" class="perm-item">编辑</label>
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="desk" data-son="delete" value="store_desk_delete" class="perm-item">删除</label>
                                                </div>
                                            </div>
                                            <div class="perm">
                                                <div class="col-sm-2" style="white-space:nowrap;">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="statistics" data-son="text" value="store_statistics" class="perm-all-item"><b>报表统计</b></label>
                                                </div>
                                                <div class="col-sm-10">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="statistics" data-son="show" value="store_statistics_show" class="perm-item">查看</label>
                                                </div>
                                            </div>
                                            <div class="perm" style="display: none">
                                                <div class="col-sm-2" style="white-space:nowrap;">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="operator" data-son="text" value="store_operator" class="perm-all-item"><b>店员管理</b></label>
                                                </div>
                                                <div class="col-sm-10">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="operator" data-son="add" value="store_operator_add" class="perm-item">添加</label>
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="operator" data-son="edit" value="store_operator_add_edit" class="perm-item">编辑</label>
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="operator" data-son="delete" value="store_operator_delete" class="perm-item">删除</label>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>

                <div class="modal-footer">
                    <button type="button" class="btn btn-sm btn-white" data-dismiss="modal">关闭</button>
                    <button type="button" class="btn btn-sm btn-primary" data-dismiss="modal">保存</button>
                </div>
            </div>
        </div>
    </div>



    <!-- 修改新店员表单 -->
    <div id="modal-form-edit" class="modal inmodal fade" aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-header">
                    <h4>添加新店员</h4>
                </div>
                <div class="modal-body">
                    <form action="" method="post" class="form-horizontal form" enctype="multipart/form-data" id="form">
                        <div class="form-group">
                            <label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label"><span class="text-danger">*</span>用户名</label>
                            <div class="col-md-9">
                                <input type="text" name="name" class="form-control" value="wyb" autocomplete="off" readonly="" />
                                <div class="help-block"></div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label"><span class="text-danger"></span>登陆密码</label>
                            <div class="col-md-9">
                                <input type="password" name="password" class="form-control" autocomplete="new-password"/>
                                <!--<div class="help-block">编辑店员时，如无需更改密码，请留空</div>-->
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label"><span class="text-danger"></span>店员姓名</label>
                            <div class="col-md-9">
                                <input type="text" name="realname" class="form-control" value="王永彬" />
                                <div class="help-block"></div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label"><span class="text-danger"></span>店员手机号</label>
                            <div class="col-md-9">
                                <input type="text" name="telphone" class="form-control" value="1234567890" />
                                <div class="help-block"></div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">店员状态</label>
                            <div class="col-md-9">
                                <label class="radio-inline">
                                    <input type="radio" name="status" value="1" checked="" > 启用
                                </label>
                                <label class="radio-inline">
                                    <input type="radio" name="status" value="0"> 禁用
                                </label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label"><span class="text-danger"></span>备注</label>
                            <div class="col-md-9">
                                <input type="text" name="remark" class="form-control" value="" />
                                <div class="help-block"></div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">可用权限</label>
                            <div class="col-md-9">
                                <div class="panel-group">
                                    <div class="panel panel-default" style="border-radius: 0px;">
                                        <div class="panel-heading" style="background:#f8f8f8">

                                            <label class="checkbox-inline">
                                                <input type="checkbox" name="perms[]" value="store" class="perm-all" data-group="store"> 门店管理
                                            </label>
                                        </div>
                                        <div class="panel-body perm-group">
                                            <div class="perm">
                                                <div class="col-sm-2" style="white-space:nowrap;">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]" data-group="store" data-parent="info" data-son="text" value="store_store" class="perm-all-item"><b>门店信息</b></label>
                                                </div>
                                                <div class="col-sm-10">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]" data-group="store" data-parent="info" data-son="view" value="store_store_view" class="perm-item">查看内容</label>
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]" data-group="store" data-parent="info" data-son="edit" value="store_store_edit" class="perm-item">编辑</label>
                                                </div>
                                            </div>
                                            <div class="perm">
                                                <div class="col-sm-2" style="white-space:nowrap;">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]" data-group="store" data-parent="goods" data-son="text" value="store_goods" class="perm-all-item"><b>商品管理</b></label>
                                                </div>
                                                <div class="col-sm-10">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]" data-group="store" data-parent="goods" data-son="add" value="store_goods_add" class="perm-item">添加</label>
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]" data-group="store" data-parent="goods" data-son="edit" value="store_goods_edit" class="perm-item">编辑</label>
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]" data-group="store" data-parent="goods" data-son="delete" value="store_goods_delete" class="perm-item">删除</label>
                                                </div>
                                            </div>
                                            <div class="perm">
                                                <div class="col-sm-2" style="white-space:nowrap;">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="class" data-son="text" value="store_class" class="perm-all-item"><b>商品分类</b></label>
                                                </div>
                                                <div class="col-sm-10">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="class" data-son="add" value="store_class_add" class="perm-item">添加</label>
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="class" data-son="edit" value="store_class_edit" class="perm-item">编辑</label>
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="class" data-son="delete" value="store_class_delete" class="perm-item">删除</label>
                                                </div>
                                            </div>
                                            <div class="perm">
                                                <div class="col-sm-2" style="white-space:nowrap;">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="class" data-son="text" value="store_order" class="perm-all-item"><b>订单管理</b></label>
                                                </div>
                                                <div class="col-sm-10">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="class" data-son="view" value="store_order_view" class="perm-item">查看</label>
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="class" data-son="deal" value="store_class_deal" class="perm-item">处理</label>
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="class" data-son="refund" value="store_class_refund" class="perm-item">退款处理</label>
                                                </div>
                                            </div>
                                            <div class="perm">
                                                <div class="col-sm-2" style="white-space:nowrap;">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="printer" data-son="text" value="store_printer" class="perm-all-item"><b>打印机管理</b></label>
                                                </div>
                                                <div class="col-sm-10">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="printer" data-son="add" value="store_printer_add" class="perm-item">添加</label>
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="printer" data-son="edit" value="store_printer_edit" class="perm-item">编辑</label>
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="printer" data-son="delete" value="store_printer_delete" class="perm-item">删除</label>
                                                </div>
                                            </div>
                                            <div class="perm">
                                                <div class="col-sm-2" style="white-space:nowrap;">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="desk" data-son="text" value="store_desk" class="perm-all-item"><b>桌号管理</b></label>
                                                </div>
                                                <div class="col-sm-10">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="desk" data-son="add" value="store_desk_add" class="perm-item">添加</label>
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="desk" data-son="edit" value="store_desk_edit" class="perm-item">编辑</label>
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="desk" data-son="delete" value="store_desk_delete" class="perm-item">删除</label>
                                                </div>
                                            </div>
                                            <div class="perm">
                                                <div class="col-sm-2" style="white-space:nowrap;">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="statistics" data-son="text" value="store_statistics" class="perm-all-item"><b>报表统计</b></label>
                                                </div>
                                                <div class="col-sm-10">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="statistics" data-son="show" value="store_statistics_show" class="perm-item">查看</label>
                                                </div>
                                            </div>
                                            <div class="perm" style="display: none">
                                                <div class="col-sm-2" style="white-space:nowrap;">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="operator" data-son="text" value="store_operator" class="perm-all-item"><b>店员管理</b></label>
                                                </div>
                                                <div class="col-sm-10">
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="operator" data-son="add" value="store_operator_add" class="perm-item">添加</label>
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="operator" data-son="edit" value="store_operator_add_edit" class="perm-item">编辑</label>
                                                    <label class="checkbox-inline"><input type="checkbox" name="perms[]"  data-group="store" data-parent="operator" data-son="delete" value="store_operator_delete" class="perm-item">删除</label>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>

                <div class="modal-footer">
                    <button type="button" class="btn btn-sm btn-white" data-dismiss="modal">关闭</button>
                    <button type="button" class="btn btn-sm btn-primary" data-dismiss="modal">保存</button>
                </div>
            </div>
        </div>
    </div>


    <!-- Mainly scripts -->
    <script src="js/jquery-2.1.1.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script>
    <script src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script>

    <!-- Peity -->
    <script src="js/plugins/peity/jquery.peity.min.js"></script>

    <!-- Custom and plugin javascript -->
    <script src="js/inspinia.js"></script>
    <script src="js/plugins/pace/pace.min.js"></script>

    <!-- iCheck -->
    <script src="js/plugins/iCheck/icheck.min.js"></script>

    <!-- Peity -->
    <script src="js/demo/peity-demo.js"></script>


    <!-- Sweet alert -->
    <script src="js/plugins/sweetalert/sweetalert.min.js"></script>

    <script>
        $(document).ready(function(){
            $('.i-checks').iCheck({
                checkboxClass: 'icheckbox_square-green',
                radioClass: 'iradio_square-green',
            });



            $('.deleteWaiter').click(function(){

                swal({
                    title: "删除店员?",
                    text: "此操作不可恢复，是否确认删除!!",
                    type: "warning",
                    cancelButtonText:"取消",
                    showCancelButton: true,
                    confirmButtonColor: "#DD6B55",
                    confirmButtonText: "确定!",
                    closeOnConfirm: false
                }, function () {
                    swal("删除成功", "删除成功.", "success");
                });
            });
        });
    </script>

</body>

</html>
